#include <string>
#include <iostream>

#include <boost/algorithm/string.hpp>

using namespace std;
using namespace boost;

int main()
{
   string str = "$MY_SQROOT/seapilot";

   replace_first(str, "$MY_SQROOT", "/home/caiche/seaquest/sqf");

   cout << str << endl;

   string str2 = "Test";
   cout << all(str2, is_alnum()) << endl;
   str2 = "100";
   cout << all(str2, is_digit()) << endl;
   str2 = "-100";
   cout << all(str2, is_digit()) << endl;
   str2 = "11.34";
   cout << all(str2, is_digit()) << endl;

   str2 = "\'Hello\'";
   cout << trim_copy_if(str2, is_any_of("\'")) << endl;
}
